import http from '@/utils/request';

// 发送邮箱验证码
export function getEmailCode(email: string) {
    return http.get('/resource/email/code', { email });
}

// 验证邮箱验证码
export function verifyEmailCode(email: string, code: string) {
    return http.get('/resource/email/verify', { email, code });
} 